#pragma once

#include <sys/time.h>
#include <time.h>
#include <iostream>
#include <stdio.h>

class TimeClickCnt
{
private:
    /* data */
    struct timeval tv_;
    bool has_start_ = false;
public:
    TimeClickCnt(/* args */);
    ~TimeClickCnt();
    TimeClickCnt(const TimeClickCnt&) = delete;
    TimeClickCnt& operator=(const TimeClickCnt&) = delete;

    void startCnt();
    double stopCnt();
};

